package com.dzl.admin;

import com.dzl.admin.pojo.vo.SysMenuVo;
import com.dzl.admin.service.SysRoleService;
import com.dzl.base.controller.BaseController;
import com.dzl.util.JsonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 角色表(SysRole)表控制层
 *
 * @author caobucao
 * @since 2021-05-13 15:50:42
 */
@RestController
@RequestMapping("sysRole")
public class SysRoleController extends BaseController {
    /**
     * 服务对象
     */
    @Autowired
    private SysRoleService sysRoleService;

    /**
     * 描述:根据角色获取菜单树
     * @date 2021/5/12 16:28
     * @author wangchao
     * @Param
     * @return com.dzl.util.JsonResult<java.util.List<com.dzl.menu.pojo.vo.MenuVo>>
     **/
    @ApiOperation(value = "根据角色获取菜单树", notes = "根据角色获取菜单树")
    @GetMapping("/queryByRoleIdMenuTree")
    public JsonResult<List<SysMenuVo>> queryByRoleIdMenuTree(){
        return JsonResult.success(null);
    }

}
